package com.example.demo.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Author: xie
 * Email: 1487471733@qq.com
 * Date: 2017/7/4
 * Time: 15:58
 * Describe:
 */
@FeignClient("eureka-client")
public interface DcClient {
    @GetMapping("/dc")
    String consumer();
}
